<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Catid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-catid" data-rule="required" class="form-control" name="row[catid]" type="number">
<!--            <input id="c-catid" data-rule="required" data-source="fwxx_category" class="form-control selectpage" data-field="name" name="row[catid]" type="text" value="">-->
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Title')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-title" class="form-control" name="row[title]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
        <div class="col-xs-12 col-sm-8">
            <div class="input-group">
                <input id="c-image" class="form-control" size="50" name="row[image]" type="text">
                <div class="input-group-addon no-border no-padding">
                    <span><button type="button" id="plupload-image" class="btn btn-danger plupload" data-input-id="c-image" data-mimetype="image/gif,image/jpeg,image/png,image/jpg,image/bmp" data-multiple="true" data-preview-id="p-image"><i class="fa fa-upload"></i> {:__('Upload')}</button></span>
                    <span><button type="button" id="fachoose-image" class="btn btn-primary fachoose" data-input-id="c-image" data-mimetype="image/*" data-multiple="true"><i class="fa fa-list"></i> {:__('Choose')}</button></span>
                </div>
                <span class="msg-box n-right" for="c-image"></span>
            </div>
            <ul class="row list-inline plupload-preview" id="p-image"></ul>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-description" class="form-control " rows="5" name="row[description]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Hits')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-hits" class="form-control" name="row[hits]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Groupid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-groupid" data-rule="required" class="form-control" name="row[groupid]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Author')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-author" data-rule="required" class="form-control" name="row[author]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inputip')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inputip" class="form-control" name="row[inputip]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Inputtime')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-inputtime" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[inputtime]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Comments')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-comments" class="form-control" name="row[comments]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Avgsort')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-avgsort" class="form-control" step="0.1" name="row[avgsort]" type="number" value="5.0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Displayorder')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-displayorder" class="form-control" name="row[displayorder]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Loudong')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-loudong" class="form-control " rows="5" name="row[loudong]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Xiangxidizhi')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-xiangxidizhi" class="form-control" name="row[xiangxidizhi]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Mianji')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-mianji" class="form-control" name="row[mianji]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zujin')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zujin" class="form-control" name="row[zujin]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiedao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-jiedao" class="form-control" name="row[jiedao]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Shequ')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-shequ" class="form-control" name="row[shequ]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Syqk')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-syqk" class="form-control" name="row[syqk]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Zhuangxiu')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-zhuangxiu" class="form-control" name="row[zhuangxiu]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Jiaju')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-jiaju" class="form-control " rows="5" name="row[jiaju]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Peitao')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-peitao" class="form-control " rows="5" name="row[peitao]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fxjg')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fxjg" class="form-control" name="row[fxjg]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Louceng')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-louceng" class="form-control" name="row[louceng]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Dengji')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-dengji" data-rule="required" class="form-control" name="row[dengji]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fwbh')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fwbh" class="form-control" name="row[fwbh]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Img')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-img" class="form-control " rows="5" name="row[img]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
